hsla: Just store floats
authorMatthias Clasen <mclasen@redhat.com>
Sat, 25 Jul 2020 04:29:42 +0000 (00:29 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 25 Jul 2020 15:56:05 +0000 (11:56 -0400)
commit706aa93ab5c7999a55bdbd08691cad361669627d
tree547ae11706adf2ed1bfec46e720b073fbeb2091f
parent54deed9a5a318fd7f05747a05f66d66b144ad71a
hsla: Just store floats

We are using floats for rgb, and we don't need more precision
for hsl colors either. We use hsl for computing color expressions
like shade(), lighter() and darker(), which are not precisely
specified anyway.

This commit updates the one test where the output changes a
tiny bit due to this.
gtk/gtkhsla.c
gtk/gtkhslaprivate.h
testsuite/css/parser/color.ref.css